* {
    box-sizing: border-box;
}
html,
body {
    position: relative;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.icon-scroll,
.icon-scroll:before {
    display: block;
    position: absolute;
    left: 50%;
    pointer-events: none;
}
.icon-scroll {
    position: fixed;
    width: 40px;
    height: 70px;
    margin-left: -20px;
    top: 90%;
    opacity: 0;
    margin-top: -35px;
    box-shadow: inset 0 0 0 2px var(--slide-0-dark);
    border-radius: 25px;
    animation: show 3s forwards;
    animation-delay: 3s;
    transition: box-shadow 500ms ease-out;
}
.icon-scroll.moving,
.icon-scroll.finish {
    animation: none;
}
.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--slide-0-dark);
    margin-left: -4px;
    top: 8px;
    border-radius: 4px;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: scroll;
    transition: background 500ms ease-out;
}
.icon-scroll svg {
    display: none;
}
.icon-scroll svg path {
    transition: all 500ms ease-out;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
    position: relative;
    text-align: left;
    font-size: 18px;
    /* background: #fff; */

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    
}
.swiper-slide .wrap-content {
    display: block;
    width: 100%;
    width: 65%;
    max-width: 800px;
    padding-right: 50px;
    position: relative;
}


@keyframes scroll{
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);

  }
}
@keyframes touchScroll{
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);

  }
}
@keyframes touchRotate{
  0% {
    opacity: 1;
    transform: rotate(-50deg) scale(.7);
  }
  50% {
    opacity: .8;
    transform: rotate(-40deg) scale(.7);
  }
  100% {
    opacity: 0;
    transform: rotate(-30deg) scale(.7);
  }
}

@keyframes show{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.swiper-pagination-progressbar.swiper-pagination-vertical, 
.swiper-vertical>.swiper-pagination-progressbar {
    /* background: #00000036; */
    background: transparent;
    position: fixed;
    transform: rotate(-90deg);
    left: -8px !important;
    transform-origin: top;
    height: 100vw !important;
    width: 56px;
    /* background: url(../img/sz.svg) no-repeat bottom right; */
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: rgb(255,255,255);
    /* background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 6%, rgba(255,255,255,0.8841911764705882) 32%, rgba(255,255,255,1) 47%, rgba(255,255,255,1) 100%); */
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0.8841911764705882) 41%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 100%);
    background: transparent;

}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill:after {
    /* content: ''; */
    width: 70px;
    height: 70px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: url(../img/max-sz.svg) no-repeat bottom right;
    background-size: contain;
    transform: rotate(145deg);
}
#progress-wrap {
    width: 100vw;
    height: 44px;
    position: fixed;
    left: 0;
    top: 0;
    background: url(../img/sz.svg) no-repeat bottom right;
}
#progress-max {
    min-width: 120px;
    width: 0;
    height: 60px;
    position: fixed;
    left: 0;
    top: 0;
    background: url(../img/max-super.svg) no-repeat bottom right;
    background-size: 100px;
    /* transform: rotate(145deg); */
}
@media (max-width:1199px) {

    /* .swiper-slide .wrap-content img {
        max-width: 280px;
        margin-left: 0px;
    }
    .swiper-slide .wrap-content {
        width: 70%;
        margin-left: -250px;
    } */
}
@media (max-width:1024px) {
}
@media (max-width:992px) {
}
@media (max-width:768px) {
    .swiper-slide .wrap-content {
        padding-right: 0;
        width: 100%;
        margin: 0;
    }
    .swiper-slide .wrap-content img {
        display: block;
        position: static;
        max-width: 230px;
        margin: 0 auto;
    }
}

@media (max-width:600px) {

    body .subtitle {
        font-size: 1.2em;
    }
    #progress-wrap {
        height: 32px;
        margin-top: 10px;
    }
    #progress-max {
        min-width: 54px;
        height: 54px;
    }
}
@media (min-width:1200px) {
    .swiper-slide .wrap-content {
        /* margin-left: -320px; */
    }
}

/* Dispositivi TOUCH */
@media (pointer:coarse) {
    .icon-scroll {
        box-shadow: none !important;
    }
    .icon-scroll:before {
        display: none;
    }
    .icon-scroll svg {
        display: initial;
        width: 50px;
        transform: translateY(0px);
        padding: 0px;
        overflow: visible;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        animation-name: touchScroll;
    }
    .icon-scroll svg path {
        transform: rotate(-50deg) scale(.7);
        transform-origin: bottom right;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        /* animation-name: touchRotate; */
    }


}